Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Ducasse/Citezen
Browse files Browse the repository at this point in the history
  • Loading branch information
tesonep committed Sep 6, 2021
2 parents b3ec765 + 30c08f8 commit f23214e
Show file tree
Hide file tree
Showing 157 changed files with 934 additions and 148 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
displaying
displayFullNameOn: aStream
self firstNames , self lastNames
self firstNames , self particles, self lastNames
do: [:name | aStream nextPutAll: name]
separatedBy: [aStream space]
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ displayShortenedNameOn: aStream
nextPut: firstName first;
nextPut: $.;
space].

self particles
do: [:particule | aStream nextPutAll: particule ; space].

self lastNames
do: [:lastName | aStream nextPutAll: lastName]
separatedBy: [aStream space]
Original file line number Diff line number Diff line change
@@ -1,37 +1,5 @@
team
teamMemberPatterns
^ teamMemberPatterns ifNil: [ teamMemberPatterns :=
#( '*Ducasse*S*' '*S*Ducasse*' '*Denker*'
'*Auverlot*' '*Larcheveque*'
'*Anquetil*' '*Costiou*' '*Aranega*'
'*Govin*'
'*Pollet*'
'*Abdeen*'
'*Laval*'
'*Peirs*'
'*Falleri*'
'*Denier*' '*Marr*'
'*Hora*'
'*Etien*'
'*Blondeau*'
'*Casaccio*'
'*Bruni*'
'*Tesone*'
'*Teruel*'
'*Polito*'
'*Martinez*Peck*'
'*Uquillas*'
'*Arnaud*'
'*Bhatti*U*'
'*Fernandes*'
'*Razavizadeh*'
'*Uquilla*'
'*Dias*'
'*Cassou*'
'*Ryseghem*'
'*Papoulias*'
'*Demarey*'
'*Bera*'
'*Miranda*'
'*B*ra*'
'*Santos*')]
^ teamMemberPatterns
ifNil:
[ teamMemberPatterns := #('*Ducasse*S*' '*S*Ducasse*' '*Denker*' '*Auverlot*' '*Anquetil*' '*Costiou*' '*Aranega*' '*Govin*' '*Pollet*' '*Abdeen*' '*Laval*' '*Marr*' '*Hora*' '*Etien*' '*Blondeau*' '*Casaccio*' '*Bruni*' '*Tesone*' '*Teruel*' '*Polito*' '*Martinez*Peck*' '*Uquillas*' '*Arnaud*' '*Bhatti*U*' '*Fernandes*' '*Razavizadeh*' '*Uquilla*' '*Dias*' '*Cassou*' '*Ryseghem*' '*Papoulias*' '*Demarey*' '*Bera*' '*Miranda*' '*Peirs*') ]
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
team utils
isTeamEntry
"This is a hack we should have a real notion of what is a team."

| author |
author := self author value.
Expand Down
4 changes: 4 additions & 0 deletions src/Citezen-Model.package/CZEntry.class/instance/pdf.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
predefined accessing
pdf

^ self at: #pdf
4 changes: 4 additions & 0 deletions src/Citezen-Model.package/CZField.class/instance/isPDF.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
testing
isPDF

^ key = #pdf
3 changes: 3 additions & 0 deletions src/Citezen-Model.package/CZPool.class/class/PDF.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
constants
pdf
^ #pdf
1 change: 1 addition & 0 deletions src/Citezen-Model.package/CZPool.class/class/initialize.st
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ initialize
Note := self note.
Number := self number.
Pages := self pages.
PDF := self pdf.
Publisher := self publisher.
School := self school.
Series := self series.
Expand Down
1 change: 1 addition & 0 deletions src/Citezen-Model.package/CZPool.class/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"Month",
"Note",
"Number",
"PDF",
"Pages",
"Publisher",
"School",
Expand Down
3 changes: 3 additions & 0 deletions src/Citezen-Model.package/CZSet.class/instance/reverseDo..st
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
enumerating
reverseDo: aBlock
self entries reverseDo: aBlock
5 changes: 3 additions & 2 deletions src/Citezen-Query.package/CZQuery.class/class/editor.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
builder
editor

"This is a hack we should have a real notion of what is a team."
^ (CZFieldQuery
named: #editor
checks: [ :value | value containsTeamMember: CZEntry teamMemberPatterns ])
checks: [ :value |
value containsTeamMember: CZEntry teamMemberPatterns ])
OR: (self annotationWithType: '*workshopproceedings*')
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
I'm a document builder with the description of a list of section (each one representing a query to a bibset).
I'm a document builder with the description of a list of sections (each one representing a query to a bibset).
I work on a subset of the entries based on the author.
I discard all the others.

self new bodySpecification: #(#internationalJournal #topConference #nationalJournal #internationalConference #nationalConference #invitedPaper #bookChapter #book #editor #internationalWorkshop #PhDAndHabilitation #toolDemo #vulgarisation).

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
initialize
defaultSectionSpecification
^ #(#internationalJournal #nationalJournal #topConference internationalConference #nationalConference #invitedPaper #bookChapter #book #editor #internationalWorkshop #PhDAndHabilitation #toolDemo #vulgarisation)
^ #(#internationalJournal #topConference #nationalJournal internationalConference #nationalConference #invitedPaper #bookChapter #book #editor #internationalWorkshop #PhDAndHabilitation #toolDemo #vulgarisation)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
queries
editorQuery
"We refine it for a single author!: the entrie is flagged as workshopproceeddings or as editor. This way papers written by the author that is also editor will not be mixed in the editor zone."

"we know that this is in the author entries, so he is an editor since he marked it"
^ (self annotationWithType: '*workshopproceedings*') OR: (self annotationWithType: '*editor*')

Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ building
filter
"set the working set to only the author entries"
super filter.
workingBibSet := workingBibSet select: self authorQuery
workingBibSet := workingBibSet select: (self authorQuery OR: self editorQuery)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commentStamp" : "StephaneDucasse 5/6/2018 14:59",
"commentStamp" : "StephaneDucasse 9/28/2019 09:15",
"super" : "CZDocBuilder",
"category" : "Citezen-Reborn-DocumentBuilder",
"classinstvars" : [ ],
Expand All @@ -8,6 +8,6 @@
"instvars" : [
"bodySpecification"
],
"name" : "CZBodyDocBuilder",
"name" : "CZAuthorFocusedDocBuilder",
"type" : "normal"
}
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
examples for tests
Abde08a
"self Abde08a"
^
(CZBibParser parse:
'
@inproceedings{Abde08a,
author = {Hani Abdeen and Ilham Alloui and St\''ephane Ducasse and Damien Pollet and Mathieu Suen},
title = {Package Reference Fingerprint: a Rich and Compact Visualization to Understand Package Relationships},
booktitle = {European Conference on Software Maintenance and Reengineering (CSMR)},
pages = {213--222},
publisher = {IEEE Computer Society Press},
year = 2008,
acceptnum = {24},
accepttotal = {87}
}
'
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
examples for tests
Abde10a
"self Abde10a"
^
(CZBibParser parse:
'@article{Abde10a,
Aeres = {ACL},
Aeresstatus = {aeres12},
Annote = {internationaljournal},
Author = {Hani Abdeen and St\''ephane Ducasse and Damien Pollet and Ilham Alloui},
Doi = {10.1016/j.infsof.2010.07.005},
Hal-Id = {inria-00531496},
Impactfactor = {ISI impact factor 1.821 (2010)},
Inria = {RMOD},
Inriareport = {2010},
Journal = {Information and Software Technology Journal},
Keywords = {moose remoose2 lse-pub cook kzVisualisation},
Pages = {1312-1330},
Secondurl = {http://rmod.lille.inria.fr/archives/papers/Abde10a-IST-packageFingerprints.pdf},
Title = {Package Fingerprint: a visual summary of package interfaces and relationships},
Url = {http://rmod.lille.inria.fr/archives/papers/Abde10a-IST-Official-packageFingerprints.pdf},
Volume = {52},
X-Editorial-Board = {yes},
X-International-Audience = {yes},
X-Proceedings = {yes},
Year = 2010,
Bdsk-Url-1 = {http://rmod.lille.inria.fr/archives/papers/Abde10a-IST-Official-packageFingerprints.pdf},
Bdsk-Url-2 = {https://doi.org/10.1016/j.infsof.2010.07.005}}
'
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
examples for tests
Chev11a
"self Chev11a"
^
(CZBibParser parse:
'
@inproceedings{Chev11a,
author = {Chevalier-Boisvert, Maxime and Lavoie, Erick and Feeley, Marc and Dufour, Bruno},
booktitle = {Dynamic Language Symposium},
title = {Bootstrapping a Self-Hosted Research Virtual Machine for JavaScript},
year = 2011
}
'
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
examples for tests
Denk08b
"self Denk08b"
^
(CZBibParser parse:
'@inproceedings{Denk08b,
Annote = {internationalconference},
Author = {Marcus Denker and Mathieu Suen and St\''ephane
Ducasse},
Booktitle = {Proceedings of TOOLS EUROPE 2008},
peer = {yes},
pages = {218--237},
aeres = {ACT},
aeresstatus = {aeres12},
inria = {RMOD},
selectif = {non},
ISSN = {1865-1348},
Keywords = {scg-pub jb08 fb08 snf08 reflectivity},
labo = {dans},
Publisher = {Springer-Verlag},
Series = {LNBIP},
Volume = 11,
Doi = {10.1007/978-3-540-69824-1_13},
Url = {http://scg.unibe.ch/archive/papers/Denk08bMetaContextLNBIP.pdf},
Title = {The Meta in Meta-object Architectures},
hal = {inria-00271286,p56w09p},
Year = 2008
}
'
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
examples for tests
Duca10a
"self Duca10a"
^
(CZBibParser parse:
'
@article{Duca10a,
author = {St\''ephane Ducasse and Damien Pollet},
keywords = {insubmission},
title = {Fingerprints},
journal = {Journal of Information System},
year = {2010}
}
'
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
examples for tests
Duca12a
"self Duca12a"
^
(CZBibParser parse:
'
@article{Duca12a,
author = {St\''ephane Ducasse and Zork Ranger},
annote = {internationaljournal},
title = {Woa},
journal = {Journal of Information System},
Url = {obsoleteData.pdf},
year = 2010
}
'
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
examples for tests
Lanz02b
"self Lanz02b"
^
(CZBibParser parse:
'
@inproceedings{Lanz02b,
author = {Michele Lanza and St\''ephane Ducasse},
title = {Beyond Language Independent Object-Oriented Metrics: Model Independent Metrics},
booktitle = {Proceedings of the 6th International Workshop on Quantitative Approaches in Object-Oriented Software Engineering},
pages = {77--84},
year = {2002},
url = {http://rmod.inria.fr/archives/papers/Lanz02bModelIndependentMetrics.pdf},
abstract = {Software Metrics have become essential in software
engineering for several reasons, among which quality
assessment and reengineering. In the context of the
European Esprit Project FAMOOS, whose main goal was
to provide methodologies for the reengineering of
large industrial software systems, we have developed
the Moose Reengineering Environment, based on the
language independent FAMIX metamodel. Moose includes
a metrics engine which supports language independent
metrics, since coping with software written in
different implementation languages was one of the
project''s main constraints. Our current research is
pushing us towards the development and
implementation of a metametamodel, which would
include our metamodel and allow for several
extension in different research directions, among
which concept analysis, knowledge management and
software evolution. In this article we want to
present our current and future work for the
transition from language independent to domain
independent metrics.},
annote = {internationalworkshop},
editor = {Fernando Brito e Abreu and Mario Piattini and Geert Poels and Houari A. Sahraoui},
isbn = {84-699-8696-1},
keywords = {scg-pub skip-doi stefPub moose kzMetric kzMeta}}
'
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
examples for tests
Rieg98a
"self Rieg98a"
^
(CZBibParser parse:
'
@inproceedings{Rieg98a,
author = {Matthias Rieger and St\''ephane Ducasse},
title = {Visual Detection of Duplicated Code},
booktitle = {Proceedings ECOOP Workshop on Experiences in Object-Oriented Re-Engineering},
publisher = {Forschungszentrum Informatik Karlsruhe},
year = {1998},
url = {http://rmod.inria.fr/archives/papers/Rieg98aEcoopWorkshop.pdf},
abstract = {Code duplication is considered as bad practice that
complicates the maintenance and evolution of
software. Detecting duplicated code is a difficult
task because of the large amount of data to be
checked and the fact that a priori it is unknown
which code part has been duplicated. In this paper,
we present a tool called DUPLOC that supports code
duplication detection in a visual and exploratory or
an automatic way.},
annote = {internationalworkshop},
editor = {St\''ephane Ducasse and Joachim Weisbrod},
keywords = {scg-pub skip-doi kzDuplication},
number = {6/7/98},
series = {FZI Report}}
'
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
examples for tests
aDoc

^ CZAuthorFocusedDocBuilder new
bibset: self someArticles;
authorMatchingString: '*S*Ducasse*';
noHeader;
build;
document
Loading

0 comments on commit f23214e

Please sign in to comment.